{template 'header'}
<ul class="nav nav-tabs">
    <li class="active"><a href="{php echo $this->createWeburl('luck');}">添加虚拟人</a></li>
</ul>
<form action="" method="post" class="form-horizontal" id="myform" role="form" enctype="multipart/form-data">

    <div class="form-group">
        <label class="col-xs-12 col-sm-3 col-md-1 control-label">选择用户:</label>
        <div class="col-sm-7 col-lg-5 col-md-8 col-xs-12">
            {loop $member $item}
            <label class="checkbox-inline">
                <input type="checkbox" name="member_id[]" value="{$item['id']}">{$item['nickname']}
            </label>
            {/loop}
        </div>
    </div>
    {if count($luckGoods) > 1}
    <div class="form-group">
        <label class="col-xs-12 col-sm-3 col-md-1 control-label">选择用户:</label>
        <div class="col-sm-7 col-lg-5 col-md-8 col-xs-12">
            {loop $luckGoods $item}
            <option value="{$item['goods_id']}">{$item['name']}</option>
            {/loop}
        </div>
    </div>
    {/if}

    <div class="form-group">
        <label class="col-xs-12 col-sm-3 col-md-1 control-label"></label>
        <div class="" >
            <input type="hidden" name="op" value="append">
            <input type="hidden" id="luck_id" name="luck_id" value="{$id}">
            <input type="submit" name="submit" id="submit" value="添加" class="btn btn-primary">
        </div>
    </div>
</form>
{template 'footer'}
